package com.ls.fw.data.support.conf;

import java.lang.annotation.*;

import org.apache.hadoop.classification.InterfaceAudience;

/**
 * A package attribute that captures the version of hbase that was compiled.
 * Copied down from hadoop.  All is same except name of interface.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PACKAGE)
@InterfaceAudience.Private
public @interface VersionAnnotation {

  /**
   * Get the HBase Indexer version
   */
  String version();

  /**
   * Get the username that compiled Hadoop.
   */
  String user();

  /**
   * Get the date when Hadoop was compiled.
   * @return the date in unix 'date' format
   */
  String date();

  /**
   * Get the url for the Git repository.
   */
  String url();

  /**
   * Get the Git hash.
   */
  String revision();
}